package com.smartstate.autoMaticControl.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;
import java.util.List;


@Data
@Entity
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "人员表")
public class User extends EntityBase {

  /**
   * 用户名
   */
  @ApiModelProperty(value = "用户名")
  private String name;

  /**
   * 用户编号
   */
  @ApiModelProperty(value = "用户编号")
  private String code;

  /**
   * 用户编号
   */
  @ApiModelProperty(value = "部门id")
  private String departmentId;


}
